POV-Ray : Newsgroups : povray.unofficial.patches : Retaining persistent variables in MegaPov 1.0 : Re: Retaining persistent variables in MegaPov 1.0 Server Time
4 Jul 2024 20:54:00 EDT (-0400)
  Re: Retaining persistent variables in MegaPov 1.0  
From: ABX
Date: 9 Oct 2003 13:36:32
Message: <rk6bov0qt73b9hmm5af9oj8tgibihbemgb@4ax.com>
On Thu, 09 Oct 2003 13:07:08 -0400, Christopher James Huff
<cja### [at] earthlinknet> wrote:
> Simply #persistant should be enough, and consistent with the existing 
> #declare, #local keywords. And it should be possible without too much 
> work for anything that can be declared...but I haven't really looked at 
> the changes that would need to be made.

I suppose it will be more difficult at least because of functions existence.

#declare C=function{pigment{object{sphere{0,1}rgb 0 rgb 1}}}
#persistent D=function{C(x,y,z)+1}

BTW I would prefer #persist more than #persistent

ABX


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.